package unit2;

public class Ex2_2_AutoIncDemo {
    public static void main(String[] args) {
        int x = 5;
        System.out.println("x  :" + x);
        System.out.println("++x:" + (++x));
        System.out.println("x++:" + (x++));
        System.out.println("x  :" + x);
        System.out.println("--x:" + (--x));
        System.out.println("x--:" + (x--));
        System.out.println("x  :" + x);
    }
}
